package com.fastloan.safe.mgt.sys.service;

import com.fastloan.safe.mgt.sys.model.CmuSysFile;
import com.kawins.base.BaseService;

/**
 * @author rankai
 *         createTime 2017-10-2017/10/27 17:02
 */
public interface CmSysFileService extends BaseService<CmuSysFile> {

    static String buildUri(CmuSysFile sysFile) {
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append(sysFile.getFileServer()).append(sysFile.getGroupName())
                .append("/").append(sysFile.getRemoteFileName());
        return stringBuffer.toString();
    }
}
